How to push values of an array inside a function to an empty global array

welcome to shbcf.ru